package models;

import javax.persistence.Entity;

import play.data.validation.Required;
import play.db.jpa.Model;

/**
 * The district entity class. A deal is associated with exactly one city district.
 * 
 */
@Entity
public class District extends Model {

	@Required
	public String districtName;
	
	public District(String districtName) {
		this.districtName = districtName;
	}
	
	public District() {}

}
